package com.zsr.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zsr.example.entity.EduTeacher;
import com.zsr.example.vo.TeacherReq;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author zsr
 * @since 2021-10-15
 */
public interface EduTeacherService extends IService<EduTeacher> {

    /**
     * 后台分页
     * @param page
     * @param teacherReq
     */
    void pageQuery(Page<EduTeacher> page, TeacherReq teacherReq);

    /**
     * 前台分页
     * @param pageParam
     * @return
     */
    Map<String, Object> pageListWeb(Page<EduTeacher> pageParam);
}
